[INFO] fetching crate crates-mirror 0.2.1...
[INFO] building crates-mirror-0.2.1 against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] extracting crate crates-mirror 0.2.1 into /workspace/builds/worker-1/source
[INFO] validating manifest of crates.io crate crates-mirror 0.2.1 on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate crates-mirror 0.2.1
[INFO] finished tweaking crates.io crate crates-mirror 0.2.1
[INFO] tweaked toml for crates.io crate crates-mirror 0.2.1 written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a30d0d183f6d649e3adaa093b08f2ea1461d89188cc11dd06676d83298a79412
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "a30d0d183f6d649e3adaa093b08f2ea1461d89188cc11dd06676d83298a79412", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a30d0d183f6d649e3adaa093b08f2ea1461d89188cc11dd06676d83298a79412", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a30d0d183f6d649e3adaa093b08f2ea1461d89188cc11dd06676d83298a79412", kill_on_drop: false }`
[INFO] [stdout] a30d0d183f6d649e3adaa093b08f2ea1461d89188cc11dd06676d83298a79412
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] df52b694455d95bbd75f853b0f582944f9a085e179aaeaff2920f963ab31176f
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "df52b694455d95bbd75f853b0f582944f9a085e179aaeaff2920f963ab31176f", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.95
[INFO] [stderr]    Compiling cc v1.0.68
[INFO] [stderr]    Compiling version_check v0.1.5
[INFO] [stderr]    Compiling traitobject v0.0.1
[INFO] [stderr]    Compiling byte-tools v0.1.3
[INFO] [stderr]    Compiling lazy_static v0.1.16
[INFO] [stderr]    Compiling modifier v0.1.0
[INFO] [stderr]    Compiling openssl-probe v0.1.4
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling bitflags v0.9.1
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling route-recognizer v0.1.13
[INFO] [stderr]    Compiling unsafe-any v0.4.2
[INFO] [stderr]    Compiling error v0.1.9
[INFO] [stderr]    Compiling conduit-mime-types v0.7.3
[INFO] [stderr]    Compiling toml v0.2.1
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling generic-array v0.5.1
[INFO] [stderr]    Compiling typemap v0.3.3
[INFO] [stderr]    Compiling digest-buffer v0.1.2
[INFO] [stderr]    Compiling digest v0.2.1
[INFO] [stderr]    Compiling plugin v0.2.6
[INFO] [stderr]    Compiling log v0.3.9
[INFO] [stderr]    Compiling unicase v1.4.2
[INFO] [stderr]    Compiling sha2 v0.2.0
[INFO] [stderr]    Compiling hpack v0.2.0
[INFO] [stderr]    Compiling mime v0.2.6
[INFO] [stderr]    Compiling cmake v0.1.45
[INFO] [stderr]    Compiling solicit v0.4.4
[INFO] [stderr]    Compiling libz-sys v1.1.3
[INFO] [stderr]    Compiling openssl-sys v0.9.63
[INFO] [stderr]    Compiling curl-sys v0.4.44+curl-7.77.0
[INFO] [stderr]    Compiling libssh2-sys v0.2.21
[INFO] [stderr]    Compiling libgit2-sys v0.6.19
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling thread-id v2.0.0
[INFO] [stderr]    Compiling memchr v0.1.11
[INFO] [stderr]    Compiling num_cpus v0.2.13
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling socket2 v0.4.0
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling thread_local v0.2.7
[INFO] [stderr]    Compiling aho-corasick v0.5.3
[INFO] [stderr]    Compiling regex v0.1.80
[INFO] [stderr]    Compiling cookie v0.2.5
[INFO] [stderr]    Compiling hyper v0.9.18
[INFO] [stderr]    Compiling env_logger v0.3.5
[INFO] [stderr]    Compiling iron v0.4.0
[INFO] [stderr]    Compiling router v0.4.0
[INFO] [stderr]    Compiling curl v0.4.38
[INFO] [stderr]    Compiling git2 v0.6.11
[INFO] [stderr]    Compiling crates-mirror v0.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] error: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]   --> src/main.rs:46:17
[INFO] [stdout]    |
[INFO] [stdout] 46 | #[derive(Debug, RustcDecodable, Clone)]
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/main.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | #![deny(warnings)]
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]   --> src/main.rs:52:17
[INFO] [stdout]    |
[INFO] [stdout] 52 | #[derive(Debug, RustcDecodable, Clone)]
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]   --> src/main.rs:59:17
[INFO] [stdout]    |
[INFO] [stdout] 59 | #[derive(Debug, RustcDecodable, Clone)]
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported
[INFO] [stdout]    --> src/main.rs:107:10
[INFO] [stdout]     |
[INFO] [stdout] 107 | #[derive(RustcDecodable)]
[INFO] [stdout]     |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `File` is imported redundantly
[INFO] [stdout]   --> src/main.rs:70:13
[INFO] [stdout]    |
[INFO] [stdout] 25 | use std::fs::{create_dir_all, File};
[INFO] [stdout]    |                               ---- the item `File` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 70 |         use std::fs::File;
[INFO] [stdout]    |             ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> src/main.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | #![deny(warnings)]
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: the item `Read` is imported redundantly
[INFO] [stdout]   --> src/main.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 26 | use std::io::{BufWriter, Write, Read, BufReader, BufRead};
[INFO] [stdout]    |                                 ---- the item `Read` is already imported here
[INFO] [stdout] ...
[INFO] [stdout] 71 |         use std::io::Read;
[INFO] [stdout]    |             ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/main.rs:435:22
[INFO] [stdout]     |
[INFO] [stdout] 435 |         let config = try!(git2::Config::open_default());
[INFO] [stdout]     |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/main.rs:489:5
[INFO] [stdout]     |
[INFO] [stdout] 489 |     try!(origin.fetch(&["master"], None, None));
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/main.rs:490:16
[INFO] [stdout]     |
[INFO] [stdout] 490 |     let head = try!(repo.head());
[INFO] [stdout]     |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/main.rs:492:18
[INFO] [stdout]     |
[INFO] [stdout] 492 |     let parent = try!(repo.find_commit(head.target().unwrap()));
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/main.rs:493:18
[INFO] [stdout]     |
[INFO] [stdout] 493 |     let remote = try!(repo.find_reference("refs/remotes/origin/master"));
[INFO] [stdout]     |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/main.rs:494:13
[INFO] [stdout]     |
[INFO] [stdout] 494 |     let c = try!(repo.reference_to_annotated_commit(&remote));
[INFO] [stdout]     |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/main.rs:497:21
[INFO] [stdout]     |
[INFO] [stdout] 497 |     let mut index = try!(repo.index());
[INFO] [stdout]     |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/main.rs:498:20
[INFO] [stdout]     |
[INFO] [stdout] 498 |     let old_tree = try!(repo.find_tree(try!(index.write_tree())));
[INFO] [stdout]     |                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/main.rs:498:40
[INFO] [stdout]     |
[INFO] [stdout] 498 |     let old_tree = try!(repo.find_tree(try!(index.write_tree())));
[INFO] [stdout]     |                                        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/main.rs:499:5
[INFO] [stdout]     |
[INFO] [stdout] 499 |     try!(repo.merge(&[&c],
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/main.rs:502:5
[INFO] [stdout]     |
[INFO] [stdout] 502 |     try!(index.write());
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/main.rs:503:19
[INFO] [stdout]     |
[INFO] [stdout] 503 |     let tree_id = try!(index.write_tree());
[INFO] [stdout]     |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/main.rs:504:16
[INFO] [stdout]     |
[INFO] [stdout] 504 |     let tree = try!(repo.find_tree(tree_id));
[INFO] [stdout]     |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/main.rs:505:16
[INFO] [stdout]     |
[INFO] [stdout] 505 |     let diff = try!(repo.diff_tree_to_tree(Some(&old_tree), Some(&tree), None));
[INFO] [stdout]     |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/main.rs:506:8
[INFO] [stdout]     |
[INFO] [stdout] 506 |     if try!(diff.stats()).files_changed() > 0 {
[INFO] [stdout]     |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/main.rs:508:19
[INFO] [stdout]     |
[INFO] [stdout] 508 |         let sig = try!(repo.signature());
[INFO] [stdout]     |                   ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/main.rs:509:9
[INFO] [stdout]     |
[INFO] [stdout] 509 |         try!(repo.commit(Some("HEAD"), &sig, &sig, "Merge", &tree, &[&parent]));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/main.rs:515:30
[INFO] [stdout]     |
[INFO] [stdout] 515 |             let mut remote = try!(repo.find_remote("local"));
[INFO] [stdout]     |                              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/main.rs:518:13
[INFO] [stdout]     |
[INFO] [stdout] 518 |             try!(remote.push(&["refs/heads/master"], Some(&mut opts)));
[INFO] [stdout]     |             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/main.rs:523:9
[INFO] [stdout]     |
[INFO] [stdout] 523 |         try!(repo.cleanup_state());
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 26 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `crates-mirror`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "df52b694455d95bbd75f853b0f582944f9a085e179aaeaff2920f963ab31176f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "df52b694455d95bbd75f853b0f582944f9a085e179aaeaff2920f963ab31176f", kill_on_drop: false }`
[INFO] [stdout] df52b694455d95bbd75f853b0f582944f9a085e179aaeaff2920f963ab31176f
